projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58e9f8
)
(Fcopy_file): Set immediate_quit around emacs_open call.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 7 Dec 2002 21:39:50 +0000
(21:39 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 7 Dec 2002 21:39:50 +0000
(21:39 +0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 890ef2de3710be6a3e31ae1ba233192b86e4d0d6..a8d27f0ef2d2019b517fc7a031f05c7ac30edecf 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2429,7
+2429,10
@@
A prefix arg makes KEEP-TIME non-nil. */)
SetFileAttributes (filename, attributes);
}
#else /* not WINDOWSNT */
+ immediate_quit = 1;
ifd = emacs_open (SDATA (encoded_file), O_RDONLY, 0);
+ immediate_quit = 0;
+
if (ifd < 0)
report_file_error ("Opening input file", Fcons (file, Qnil));